<!DOCTYPE html>
<html>
<head>
<title>input.html</title>

<meta name="keywords" content="keyword1,keyword2,keyword3">
<meta name="description" content="this is my page">
<meta name="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"
	href="../Styles/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="../Styles/admin-all.css" />
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<script language="javascript">
	function chkads() {
		if (lf_addstu.txtid.value == "") {
			alert("编号不能为空.");
			lf_addstu.txtid.select();
			return false;
		}
		if (!IsNum(lf_addstu.txtid.value)) {
			alert("编号请输入数字!");
			lf_addstu.txtid.focus();
			return false;
		}
		if (lf_addstu.txtname.value == "") {
			alert("姓名不能为空.");
			lf_addstu.txtname.select();
			return false;
		}
		if (lf_addstu.txthours.value == "") {
			alert("时间不能为空.");
			lf_addstu.txthours.select();
			return false;
		}
		if (lf_addstu.txtcost.value == "") {
			alert("费用不能为空.");
			lf_addstu.txtcost.select();
			return false;
		}
		if (lf_addstu.txtremarks.value == "") {
			alert("备注不能为空.");
			lf_addstu.txtremarks.select();
			return false;
		}

	}
</script>
</head>

<body>
	<h1>时间格式：yyyy-MM-dd</h1>
	<h2>例如：2017-01-01</h2>



	<form action="../PayInfoInputServlet" method="post"
		onSubmit="return chkads()" name="lf_addstu">
		<table class="table table-striped table-bordered table-condensed list">

			<tr>
				<td>编号：</td>
				<td>姓名：</td>
				<td>时间：</td>
				<td>费用：</td>
				<td>备注：</td>
			</tr>
			<tr class="demo">
				<td><input type="text" name="txtid" /></td>
				<td><input type="text" name="txtname" /></td>
				<td><input type="text" name="txthours" /></td>
				<td><input type="text" name="txtcost" /></td>
				<td><input type="text" name="txtremarks" /></td>
			</tr>
			<tr>
				<td>党员基本信息编号：</td>
			</tr>
			<tr class="demo">
				<td><input type="text" name="txtbasicInfoId" /></td>
			</tr>
			<tr>
				<td colspan="6"><input class="btn btn-inverse" type="submit"
					name="input" value="增加" /></td>
		</table>
	</form>
</body>
</html>
